﻿using System;
using System.Collections.Generic;
using System.Web;
using System.Configuration;
using System.Collections;
using Wicresoft.Framework.Organization;

public class AppConfig
{
    public static Guid WriterRoleID = new Guid(ConfigurationManager.AppSettings["WriterRoleID"]);
  
    public static string[] getUserTypes(Guid userID)
    {
        ArrayList al = new ArrayList();
        if (OrganizationHelper.IsUserInRole(userID, WriterRoleID))
            al.Add("区内简报");       
        return (string[])al.ToArray(typeof(string));
    }
}